package com.it.mapper;

import com.it.pojo.Discretion;
import com.it.pojo.DiscretionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DiscretionMapper {
    long countByExample(DiscretionExample example);

    int deleteByExample(DiscretionExample example);

    int deleteByPrimaryKey(String discretionId);

    int insert(Discretion record);

    int insertSelective(Discretion record);

    List<Discretion> selectByExample(DiscretionExample example);

    Discretion selectByPrimaryKey(String discretionId);

    int updateByExampleSelective(@Param("record") Discretion record, @Param("example") DiscretionExample example);

    int updateByExample(@Param("record") Discretion record, @Param("example") DiscretionExample example);

    int updateByPrimaryKeySelective(Discretion record);

    int updateByPrimaryKey(Discretion record);
}